Skip to content

Conversation

stmontgomery
Copy link
Contributor

A small enhancement to the @Test and @Suite macro expansion changes made in #880: qualify the @__testing(warning:) usage with the module name.

I also took the opportunity to enhance a unit test related to @__testing(semantics:). It already correctly checks the attribute module name if present, and this test simply validates that.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

@stmontgomery stmontgomery added enhancement New feature or request macros 🔭 Related to Swift macros such as @Test or #expect labels Mar 25, 2025
@stmontgomery stmontgomery added this to the Swift 6.2 milestone Mar 25, 2025
@stmontgomery stmontgomery self-assigned this Mar 25, 2025
@stmontgomery
Copy link
Contributor Author

@swift-ci please test

@stmontgomery stmontgomery merged commit 7ccbd68 into swiftlang:main Mar 25, 2025
3 checks passed
@stmontgomery stmontgomery deleted the testing-macro-module-prefix branch March 25, 2025 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request macros 🔭 Related to Swift macros such as @Test or #expect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants